-
-
Notifications
You must be signed in to change notification settings - Fork 30
Link file for air
#728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link file for air
#728
Conversation
(* NOTE: It looks like Coq will take infinitely long time to find an | ||
appropriate class for this instance *) | ||
Global Instance IsLink (T V : Set) : Link (t T V) := { | ||
Φ := Ty.apply (Ty.path "plonky3::matrix::dense::DenseMatrix") [ φ T; φ V ] []; | ||
φ := to_value; | ||
}. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coq cannot find correct class for this instance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK yes in some cases Rocq prefers to make an infinite loop instead of showing a clean error message.
Maybe you can specify the type parameters of to_value
? With to_value (T := T) (V := V)
for example?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to https://github.com/formal-land/coq-of-rust/blob/main/CoqOfRust/lib/lib.v#L33 it should be:
(* NOTE: It looks like Coq will take infinitely long time to find an | |
appropriate class for this instance *) | |
Global Instance IsLink (T V : Set) : Link (t T V) := { | |
Φ := Ty.apply (Ty.path "plonky3::matrix::dense::DenseMatrix") [ φ T; φ V ] []; | |
φ := to_value; | |
}. | |
(* NOTE: It looks like Coq will take infinitely long time to find an | |
appropriate class for this instance *) | |
Global Instance IsLink (T V : Set) : Link (t T V) := { | |
Φ := Ty.apply (Ty.path "plonky3::matrix::dense::DenseMatrix") [ ] [ φ T; φ V ]; | |
φ := to_value; | |
}. |
A squashed version is available there: #736 I am merging it once it is green! |
Closed and being continued in #737 . |
This PR:
Plonky3
into repositoryair
file, with its dependencies sufficiently explored. Future task onair
link can be safely cut into smaller tasks